package ast.exp;

import icg.EQLabel;
import icg.ElementQ;
import ast.type.Type;

public abstract class Expression {
	Type type;
	public ElementQ addr;
	public EQLabel trueL;// = EQLabel.FALL;
	public EQLabel falseL;// = EQLabel.FALL;

	public Expression() {
	}

	public abstract Type typeCheck();

	public abstract void genCode();
	
	public Type getType(){
		return type;
	}
}
